package com.qiaofang.applet.service.member.service;

import com.qiaofang.applet.common.base.BaseService;
import com.qiaofang.applet.service.member.domain.Department;
import com.qiaofang.applet.service.member.service.dto.DeptSimpleListDto;

import java.util.List;
import java.util.Map;

public interface DepartmentService extends BaseService<Department, String> {
    Department findByDeptUuidAndCompanyUuid(String deptUuid,String companyUuid);

    void removeDeptCache(String corporationCode, String companyUuid);

    String getDeptName(String corporationCode, String companyUuid, String deptUuid);

    List<DeptSimpleListDto> getDeptList(String corporationCode, String cityCode);

    Map<String, String> getDeptMap(String corporationCode, String companyUuid);
}
